package com.example.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/log2")
public class LogController2 {
    @RequestMapping("/print")
    public String print(){
        log.error("==========ERROR==========");
        log.warn("==========WARN==========");
        log.info("==========Info==========");
        log.debug("==========DEBUG==========");
        log.trace("==========TRACE==========");

        return "SUCCESS";
    }
}
